package com.basicsOperation.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@RequestMapping("listenerAndInterceptor")
@Controller
public class ListenerAndInterceptorController {
	
	@RequestMapping("interceptorTest")
	@ResponseBody
	public String interceptorTest(HttpServletRequest request,HttpServletResponse response){
		System.out.println("拦截器测试。。。。。。。。");
		return "ssadas";
	}
	
	
	

}
